package com.sca.commontest.test.designpattern.decorator;

/**
 * @Author: denglei
 * @Date: 2022/1/5 09:43
 * @Description:
 */
public class Decorator_zero  extends Decorator  {

    public Decorator_zero(Human human){
        super(human);
    }

    public void goHome(){
        System.out.println("进房子。。");
    }

    public void findMap(){
        System.out.println("书房找找map。。");
    }


    @Override
    public void wearClothes() {
        super.wearClothes();
        goHome();
    }

    @Override
    public void walkToPlace() {

        super.walkToPlace();
        findMap();
    }
}
